package com.earl.eatbao.domain.eatbao;

import java.io.Serializable;

import javax.persistence.Entity;

import com.earl.eatbao.commons.domain.AbstractAuditingEntity;


/**
 * 商家申请表
 * @author Administrator
 * @version 1.0
 * @updated 22-十一月-2016 20:16:40
 */
@Entity
public class BusinessApply extends AbstractAuditingEntity<Long> implements Serializable {

    /**
     * 说明
     */
	private String doce;

	/**
	 * 身份证背面照
	 */
	private String identityBackImg;
	/**
	 * 身份证正面照
	 */
	private String identityImg;
	/**
	 * 1.申请认证中
	 * 2.认证通过
	 * 3.认证失败
	 * 4.拒绝再次认证
	 * 
	 * 3.认证失败后，用户可以再次申请认证，4，拒绝认证后，不再开放认证功能
	 */
	private int status;

	/**
	 * 申请的用户id
	 */
	private long userId;
	
	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getIdentityBackImg() {
		return identityBackImg;
	}

	public void setIdentityBackImg(String identityBackImg) {
		this.identityBackImg = identityBackImg;
	}

	public String getIdentityImg() {
		return identityImg;
	}

	public void setIdentityImg(String identityImg) {
		this.identityImg = identityImg;
	}

    /**
     * Getter for property 'doce'.
     *
     * @return Value for property 'doce'.
     */
    public String getDoce() {
        return doce;
    }

    /**
     * Setter for property 'doce'.
     *
     * @param doce Value to set for property 'doce'.
     */
    public void setDoce(String doce) {
        this.doce = doce;
    }

    public BusinessApply(){

	}

	public void finalize() throws Throwable {

	}

}